import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import useElementPlus from './plugins/element-plus'
// import useDirectivePermission from './utils/directive/permission'

import * as echarts from 'echarts'

import 'normalize-css/normalize.css'
import './styles/index.scss'

const app = createApp(App)

app.config.globalProperties.$echarts = echarts

useElementPlus(app)
// useDirectivePermission(app)

app
  .use(router)
  .use(store)
  .mount('#app')
